<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<html>
<head>
<title>后台首页</title>

<link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap3/css/bootstrap.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap3/css/bootstrap-theme.min.css">
<script src="${pageContext.request.contextPath}/static/bootstrap3/js/jquery-1.11.2.min.js"></script>
<script src="${pageContext.request.contextPath}/static/bootstrap3/js/bootstrap.min.js"></script>

<style type="text/css">
	#back-to-top{
	position: fixed;
    right: 50px;
    bottom: 20px;
    background: /* rgba(230, 126, 34, 0.6) */black;
    color: #ffffff;
    text-align: center;
    border-radius: 2px;
    z-index: 1;
    display: none;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}
	
</style>

<script type="text/javascript">
function checkChange(){
	if(document.getElementById("isImage")=="${diary.diaryId!=null }"){
		$("#hdtp").show();
	}else{
		$("#hdtp").hide();
	}
}
</script>

</head>
<body>
<br />
	<div >
	<jsp:include page="/background/default.jsp"/> 
	<jsp:include page="/background/common/head.jsp"/>
	<div class="row clearfix">
		<div class="col-md-2 column">
			<ul class="breadcrumb">
				<li style="font-size: 20px">
					 <a href="${pageContext.request.contextPath}/background/loginSuccess">首页</a>
				</li>
				
			</ul>
			
			<jsp:include page="/background/common/left.jsp"/>
			
		</div>
		
		<div class="col-md-9 column">
		
			<jsp:include page="/background/common/right.jsp"/>
			
			<br>
			
			<div class="container">
					<div class="row clearfix">
						<div class="col-md-8 column">
						
							  <jsp:include page="/background/diary/diaryList.jsp"/> 
							 
							 <div class="save" id="saves" onclick="checkChange()">
							 	<jsp:include page="/background/diary/diarySave.jsp"/> 
							 </div>
							  <br> 
							 
							 <%-- <jsp:include page="${mainPage }" />  --%>
							 
							
						</div>
					</div>
				</div>
			
			 <a href="#" id="back-to-top" style="display:block">
						<i class="fa">
							跳到顶部
						</i>	
			</a>
			
		</div>
	</div>
</div>
	<jsp:include page="/background/common/foot.jsp"/> 
</body>
</html>
<!-- 防止页面回退 -->
<script type="text/javascript">
	
		window.onload=function(){
			history.forward();
		}
		
</script>
